import 'package:flutter_test/flutter_test.dart';

import 'package:spine_flutter/spine_flutter.dart';

void main() {
  SpineWidget spine = SpineWidget(
    assets: Assets(
      skeltonDataFile: 'spineboy.json',
      atlasDataFile: 'spineboy.atlas',
      textureDataFile: 'spineboy.png',
      pathPrefix: 'assets/spineboy/',
    ),
    animationSettings: new AnimationSettings(0, 'walk', true),
//    alignment: Alignment.center,
//    fit: BoxFit.contain,
    //                onCompleteCallback: ((trackEntry){
    //                  _animationSettings = new AnimationSettings(0, 'walk', true);
    //                }),
  );
}
